package com.hz.module.system.controller.admin.check.list.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.hz.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.hz.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 基础检查分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CheckListPageReqVO extends PageParam {

    @Schema(description = "检查表名称", example = "芋艿")
    private String checkListName;

    @Schema(description = "行业")
    private String checkListIndustry;

    @Schema(description = "排序")
    private Integer sequence;

    @Schema(description = "1在用，0禁用")
    private Integer state;

    @Schema(description = "一般执法、专项执法", example = "1")
    private String checkType;

    @Schema(description = "检查对象")
    private String checkObject;

    @Schema(description = "检查对象类型", example = "2")
    private String checkObjectType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "事项类别 重点事项、安全隐患")
    private String checkFlag;

}